export default [
    {
        path: '/',
        redirect: '/login'
    },
    {
        path: '/login',
        component: () =>
            import ( /* webpackChunkName: "login" */ '@common/components/page/LoginAccountSet.vue'),
        meta: { title: '登录' }
    },
    {
        path: '/reg',
        component: () =>
            import ( /* webpackChunkName: "reg" */ '@common/views/reg/Register.vue'),
        meta: { title: '注册账套' }
    },
    {
        path: '/redirect',
        component: () =>
            import ( /* webpackChunkName: "redirect" */ '@common/views/Redirect.vue'),
        meta: { title: '重定向' },
    },
    {
        path: '/',
        component: () => import ( /* webpackChunkName: "home" */ '@common/components/layout/TabsHome'),
        meta: {title: '自述文件'},
        children: [
            {
                path: '/dashboard',
                component: () =>
                    import ( /* webpackChunkName: "sysgroup" */ '@common/views/dashboard'),
                meta: { closable: false, title: '首页', show: 'title', icon: 'fa fa-home' }
            },
            {
                path: '/404',
                component: () => import(/* webpackChunkName: "404" */ '@common/components/page/404.vue'),
                meta: { title: '404' }
            },
            {
                path: '/403',
                component: () => import(/* webpackChunkName: "403" */ '@common/components/page/403.vue'),
                meta: { title: '403' }
            },
        ]
    },
    {
        path: '*',
        redirect: '/404'
    },
]
